package com.lcxw.hxzb.friendcircle.project.system.domain;

import com.lcxw.hxzb.friendcircle.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.List;

/**
 * 游戏订单对象 ywpd_game_order
 *
 * @author ruoyi
 * @date 2020-09-15
 */
public class YwpdGameOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long orderId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 主键
     */
    private Long infoId;

    /**
     * 数量
     */
    private Long count;

    /**
     * 订单价格
     */
    private BigDecimal total;

    /**
     * 评价值
     */
    private BigDecimal value;

    /** 2001-陪玩者待处理
     1001-陪玩者接单
     1003-陪玩者拒绝
     5001-陪玩者申请提前结束，下单用户待处理
     5002-用户不同意
     4001-订单超时
     3001-订单结束*/
    private Long status;

    private YwpdGameInfo ywpdGameInfo;

    private List<YwpdOrderLabel> ywpdOrderLabel;

    private Long months;

    private Long days;
    private String giftIcon;
    private String nickName;
    private String imgUrl;

    private String url;


    private String gameName;

    private Long[] labelIds;
    private YwpdMember member;
    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public YwpdGameInfo getYwpdGameInfo() {
        return ywpdGameInfo;
    }

    public void setYwpdGameInfo(YwpdGameInfo ywpdGameInfo) {
        this.ywpdGameInfo = ywpdGameInfo;
    }

    public List<YwpdOrderLabel> getYwpdOrderLabel() {
        return ywpdOrderLabel;
    }

    public void setYwpdOrderLabel(List<YwpdOrderLabel> ywpdOrderLabel) {
        this.ywpdOrderLabel = ywpdOrderLabel;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setInfoId(Long infoId) {
        this.infoId = infoId;
    }

    public Long getInfoId() {
        return infoId;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Long getCount() {
        return count;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public BigDecimal getValue() {
        return value;
    }

    public void setValue(BigDecimal value) {
        this.value = value;
    }

    public Long getMonths() {
        return months;
    }

    public void setMonths(Long months) {
        this.months = months;
    }

    public Long getDays() {
        return days;
    }

    public void setDays(Long days) {
        this.days = days;
    }

    public String getGiftIcon() {
        return giftIcon;
    }

    public void setGiftIcon(String giftIcon) {
        this.giftIcon = giftIcon;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long[] getLabelIds() {
        return labelIds;
    }

    public void setLabelIds(Long[] labelIds) {
        this.labelIds = labelIds;
    }

    public String getGameName() {
        return gameName;
    }

    public void setGameName(String gameName) {
        this.gameName = gameName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("orderId", getOrderId())
                .append("userId", getUserId())
                .append("infoId", getInfoId())
                .append("count", getCount())
                .append("createTime", getCreateTime())
                .append("total", getTotal())
                .append("value", getValue())
                .toString();
    }

    public YwpdMember getMember() {
        return member;
    }

    public void setMember(YwpdMember member) {
        this.member = member;
    }
}
